package com.heima.apis.admin;

import com.heima.model.admin.pojos.ChannelLabel;
import com.heima.model.wemedia.pojos.WmChannel;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "leadnews-admin")
public interface IChannelLabelClient {

    @GetMapping("/admin/getChannelLabel/{wmChannelId}")
    public ChannelLabel getByChannelId(@PathVariable("channelId") Integer channelId);
}
